#ifndef CONFIGWINDOW_H
#define CONFIGWINDOW_H

#include <QtGui>
#include <QDebug>
#include <FuncaoAvaliacao.h>
#include <FuncaoPerimetroBonus.h>
#include <FuncaoMatrizEstatica.h>
#include <FuncaoQuantidade.h>
#include <defines.h>

class ConfigWindow : public QWidget
{
    Q_OBJECT

public:
    ConfigWindow();
    void setupConfigs();

signals:
    void updateEvalFunc(FuncaoAvaliacao* fnc);
    void updateAILevel(int level);
    void updateTRSpeed(int speed);

private slots:
    void bntOkPressed();
    void bntCancelPressed();

private:
    QHBoxLayout* lineHeuristica;
    QGroupBox* gbHeuristica;
    QLabel* lbHeuristica;
    QComboBox *cbHeuristica;

    QHBoxLayout* lineDif;
    QGroupBox* gbDif;
    QLabel* lbDif;
    QComboBox *cbDif;

    QHBoxLayout* lineTransSpeed;
    QGroupBox* gbTS;
    QLabel* lbTS;
    QComboBox *cbTS;

    QDialogButtonBox* btnBox;

    QVBoxLayout* finalLayout;

    FuncaoPerimetroBonus* fncPB;
    FuncaoMatrizEstatica* fncME;
    FuncaoQuantidade*     fncQS;
};

#endif
